﻿#region 命名空间

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Sharp.Platform.Mvc.Models;

#endregion

namespace Sharp.WebBooter.Areas.Platform.Models
{
    public class MasterDataIndexModel : BaseListViewModel
    {
        public Guid Id { get; set; }


        /// <summary>
        ///     代码
        /// </summary>
        /// <value>代码</value>
        [Display(Name = "代码")]
        public string Code { get; set; }

        /// <summary>
        ///     名称
        /// </summary>
        /// <value>名称</value>
        [Display(Name = "名称")]
        public string Name { get; set; }

        /// <summary>
        ///     父Id
        /// </summary>
        /// <value>父Id</value>
        [Display(Name = "父Id")]
        public string ParentId { get; set; }

        /// <summary>
        ///     全称
        /// </summary>
        [Display(Name = "全称")]
        public string FullName { get; set; }

        /// <summary>
        ///     简称
        /// </summary>
        [Display(Name = "简称")]
        public string Abbreviation { get; set; }


        /// <summary>
        ///     左边树形菜单
        /// </summary>
        public object LeftTree { get; set; }

        public IList<MasterDataIndexModel> DropDown { get; set; }
        /// <summary>
        /// 组件限定名称
        /// </summary>
        public string AssemblyQualifiedName { get; set; }
    }
}